package com.lagou.phone;

public abstract class Phone {
    private String brand;
    private String model;
    private String no;

    public Phone() {
    }

    public Phone(String brand, String model, String no) {
        setBrand(brand);
        setModel(model);
        setNo(no);
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public abstract void call();
    public abstract void sendSms();
}
